---
layout: default
---
<script src="{{ site.baseurl }}/assets/js/toc.js"></script>


<article {% if page.feature-img %}class="feature-image"{% endif %} >
  <header class="bs-docs-nav navbar navbar-static-top" id="top"></header>
  <header id="main" style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
    <h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
    <p class="meta">
    {{ page.date | date: "%B %-d, %Y" }}
    {% if page.author %} - {{ page.author }}{% endif %}
    </p>
  </header>
  <aside id="toc"></aside>
  <section class="post-content">{{ content }}</section>

 <a  id="back-to-top">
     <img id="back-to-top-img" src="{{ site.baseurl }}/assets/img/backtotop.png" />
 </a>


   <!-- Tag list -->
  {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
  {% include tags_list.html tags=tag_list %}

</article>

<!-- 加入目录 -->
<script type="text/javascript">
    $(document).ready(function() {
        $('#toc').toc();
    });
    var d = document.getElementById("back-to-top");
    var threshold = $("#top").offset().top+100;
    window.onscroll = function(){
     var t = document.documentElement.scrollTop || document.body.scrollTop;
     if (t > threshold ){
        $("#back-to-top").fadeIn("slow",function(){
        });
     }
     else {
         $("#back-to-top").fadeOut("slow",function(){
         });
     }

    }
    $('#back-to-top-img').click(function(){
        var top = $("#top").offset().top;
        $('html, body').animate({scrollTop:top}, 500);
    });
</script>

<!-- 加入目录结束 -->

<!-- 来必力City版安装代码 -->
<div id="lv-container" data-id="city" data-uid="MTAyMC8zNDkyNy8xMTQ2NA==">
	<script type="text/javascript">
   (function(d, s) {
       var j, e = d.getElementsByTagName(s)[0];

       if (typeof LivereTower === 'function') { return; }

       j = d.createElement(s);
       j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
       j.async = true;

       e.parentNode.insertBefore(j, e);
   })(document, 'script');
	</script>
<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
</div>
<!-- City版安装代码已完成 -->

<!-- Post navigation -->
{% if site.theme_settings.post_navigation %}
  {% include post_nav.html %}
{% endif %}
